const cors = require("cors");
const bodyParser = require("body-parser");
const express = require("express");

exports.mountMiddleWare = (app) => {
  app.use(cors());
  app.use(express.static("public"));
  app.use(express.urlencoded({ extended: false, limit: "10mb" }));
  app.use(bodyParser.json({ limit: 1024 * 1024 * 10 }));
};
